package by.admonko.universaltesting.dataaccess;

import java.util.Date;
import java.util.List;

import by.admonko.universaltesting.datamodel.Test;
import by.admonko.universaltesting.datamodel.TestResult;
import by.admonko.universaltesting.datamodel.UserGroup;
import by.admonko.universaltesting.datamodel.UserTbl;

public interface TestResultDao extends AbstractDao<Integer, TestResult> {
	List<TestResult> getByUser(UserTbl user);

	List<TestResult> getByUserGroup(UserGroup userGroup);

	List<TestResult> getByTest(Test test);

	List<TestResult> getByDate(Date date);
}
